package com.yeyks.other.service;

import com.yeyks.common.base.PageResult;
import com.yeyks.other.dal.domain.Carousel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yeyks.other.dto.CarouselListParam;

import java.util.List;


/**
 * <p>
 * 轮播图 服务类
 * </p>
 *
 * @author yun
 * @since 2019-12-25
 */
public interface CarouselService extends IService<Carousel> {

    /**
     * 列表查询
     *
     * @param param
     * @return
     */
    PageResult<Carousel> myList(CarouselListParam param);

    /**
     * 通过类型和状态查询
     *
     * @param status {@link Carousel}
     * @param type   {@link Carousel}
     * @return
     */
    List<Carousel> myList(Integer status, Integer type);

}
